/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

/**
 *
 * @author daz
 */
public class Professor extends Person {

    private int examinerId;
    private int isHust;
    private String timeAvailableFrom;
    private String timeAvailableTo;

    public void setTimeAvailableFrom(String timeAvailableFrom) {
        this.timeAvailableFrom = timeAvailableFrom;
    }

    public void setTimeAvailableTo(String timeAvailableTo) {
        this.timeAvailableTo = timeAvailableTo;
    }

    public String getTimeAvailableFrom() {
        return timeAvailableFrom;
    }

    public String getTimeAvailableTo() {
        return timeAvailableTo;
    }

    public void setIsHust(int isHust) {
        this.isHust = isHust;
    }

    public int getIsHust() {
        return isHust;
    }

    public void setExaminerId(int examinerId) {
        this.examinerId = examinerId;
    }

    public int getExaminerId() {
        return examinerId;
    }

    public Professor() {
    }

    public Professor(int id, String name) {
        super(id, name);
    }

    public void println() {
        System.out.println("[" + id + "," + name + "]");
    }
}
